CVE-2022-50522
mcb: mcb-parse: fix error handing in chameleon_parse_gdd()
Description
In the Linux kernel, the following vulnerability has been resolved: mcb: mcb-parse: fix error handing in chameleon_parse_gdd() If mcb_device_register() returns error in chameleon_parse_gdd(), the refcount of bus and device name are leaked. Fix this by calling put_device() to give up the reference, so they can be released in mcb_release_dev() and kobject_cleanup().
INFO
Published Date :
Oct. 7, 2025, 4:15 p.m.
Last Modified :
Oct. 8, 2025, 7:38 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Call put_device() to release references.
- Ensure kobject_cleanup() is called.
- Ensure mcb_release_dev() is called.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-50522
.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-50522
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-50522
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-50522
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-50522
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 07, 2025
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: mcb: mcb-parse: fix error handing in chameleon_parse_gdd() If mcb_device_register() returns error in chameleon_parse_gdd(), the refcount of bus and device name are leaked. Fix this by calling put_device() to give up the reference, so they can be released in mcb_release_dev() and kobject_cleanup(). Added Reference https://git.kernel.org/stable/c/110dc34c9fa33d37f55b394b1199ea6c0ad1ee84 Added Reference https://git.kernel.org/stable/c/43bfc7c2402a22d3b4eb08c040f274ba2b76461a Added Reference https://git.kernel.org/stable/c/4a9f1a8b3af287581ffb690d0e1593c681729ddb Added Reference https://git.kernel.org/stable/c/728ac3389296caf68638628c987aeae6c8851e2d Added Reference https://git.kernel.org/stable/c/7b289b791a59386dc23a00d3cf17a0db984b40d3 Added Reference https://git.kernel.org/stable/c/891f606ae0765bc9ca99f5276735be4d338f0255 Added Reference https://git.kernel.org/stable/c/b948baa29394ec5f4e6ec28486e7d06a76caee91 Added Reference https://git.kernel.org/stable/c/cf6e70c0ced50b52415ac0c88eba1fb09c500a5a Added Reference https://git.kernel.org/stable/c/fd85ece416fd7edb945203e59d4cd94952f77e7c